/*
 * @Author: doinb
 * @Date: 2019-05-09 16:18:12
 * @LastEditTime: 2019-08-20 13:24:47
 */
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import 'normalize.css'
import router from './router'
import i18n from './i18n/i18n'
import ElementUI from 'element-ui'
import '@/icons'
import 'element-ui/lib/theme-chalk/index.css'
import store from './store'  //引入store
import VueAMap from "vue-amap";
import echarts from 'echarts'
import VideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
Vue.prototype.$echarts = echarts;
Vue.use(VideoPlayer)
Vue.use(VueAMap);
Vue.config.productionTip = false
Vue.use(i18n)
Vue.use(ElementUI)
VueAMap.initAMapApiLoader({
  key: "e1dedc6bdd765d46693986ff7ff969f4",
  plugin: [
    "AMap.Autocomplete", //输入提示插件
    "AMap.PlaceSearch", //POI搜索插件
    "AMap.Scale", //右下角缩略图插件 比例尺
    "AMap.OverView", //地图鹰眼插件
    "AMap.ToolBar", //地图工具条
    "AMap.MapType", //类别切换控件，实现默认图层与卫星图、实施交通图层之间切换的控制
    "AMap.PolyEditor", //编辑 折线多，边形
    "AMap.CircleEditor", //圆形编辑器插件
    "AMap.Geolocation" //定位控件，用来获取和展示用户主机所在的经纬度位置
  ],
  uiVersion: "1.0"
});
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  i18n,
  store,
  components: { App },
  template: '<App/>'
})
